package com.huawei.bitfun.insight;

import org.cef.browser.CefBrowser;
import org.cef.browser.CefFrame;
import org.cef.handler.CefRequestHandlerAdapter;
import org.cef.handler.CefResourceRequestHandler;
import org.cef.misc.BoolRef;
import org.cef.network.CefRequest;

public class InsightExRequestHandler extends CefRequestHandlerAdapter {
    private static final InsightExResourceRequestHandler HANDLER = new InsightExResourceRequestHandler();

    @Override
    public CefResourceRequestHandler getResourceRequestHandler(CefBrowser browser, CefFrame frame, CefRequest request,
        boolean isNavigation, boolean isDownload, String requestInitiator, BoolRef disableDefaultHandling) {
        return HANDLER;
    }
}
